<template>
    <base-dialog v-bind="$attrs" v-on="$listeners" title="抄送" width="600px" @submit="saveValue">
        <select-any-user v-model="recipient" style="height: 500px"></select-any-user>
    </base-dialog>
</template>
<script>
    import BaseDialog from "@/components/Common/BaseDialog";
    import eventBus from "@/utils/eventBus";
    import SelectAnyUser from "../../../components/Common/SelectAnyUser";
    export default {
        name: "CopyListDialog",
        components: {SelectAnyUser, BaseDialog},
        data() {
            return {
                recipient:[]
            };
        },
        created() {
        },
        computed: {
        },
        methods: {
            saveValue(){
                eventBus.$emit("recipient",this.recipient)
                this.$emit("update:visible",false)
            }
        }
    };
</script>
<style lang="scss" scoped>
    .tab-content {
        height: 400px;
        overflow-y: scroll;
    }
    svg {
        font-size: 20px;
    }
</style>
